﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:local="clr-namespace:CeBIT2010"
    xmlns:TheOliver_Controls="clr-namespace:TheOliver.Controls;assembly=TheOliver.Controls.AnalogClock"
    x:Class="CeBIT2010.CebitSlidePlaceholder"
    d:DesignHeight="908"
    d:DesignWidth="1012">
    <UserControl.Resources>
        <Storyboard
            x:Name="_hideSlideStoryboard">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="_content">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0">
        			<EasingDoubleKeyFrame.EasingFunction>
        				<ExponentialEase EasingMode="EaseInOut"/>
        			</EasingDoubleKeyFrame.EasingFunction>
        		</EasingDoubleKeyFrame>
        		<EasingDoubleKeyFrame KeyTime="0:0:1" Value="-956">
        			<EasingDoubleKeyFrame.EasingFunction>
        				<CircleEase EasingMode="EaseInOut"/>
        			</EasingDoubleKeyFrame.EasingFunction>
        		</EasingDoubleKeyFrame>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard
            x:Name="_showSlideStoryboard">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="_content">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-1080"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0">
        			<EasingDoubleKeyFrame.EasingFunction>
        				<ElasticEase EasingMode="EaseOut" Oscillations="2"/>
        			</EasingDoubleKeyFrame.EasingFunction>
        		</EasingDoubleKeyFrame>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>

    <Grid
        x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.05*" />
            <ColumnDefinition Width="0.85*"/>
            <ColumnDefinition Width="0.05*"/>
            <ColumnDefinition
                Width="278" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition
                Height="134" />
            <RowDefinition />
            <RowDefinition
                Height="101" />
        </Grid.RowDefinitions>
        <ContentPresenter
    		x:Name="_content"
    		Grid.RowSpan="1" Grid.ColumnSpan="1" Grid.Column="1" Grid.Row="1" RenderTransformOrigin="0.5,0.5" OpacityMask="Black" >
        	<ContentPresenter.Projection>
        		<PlaneProjection/>
        	</ContentPresenter.Projection>
        	<ContentPresenter.RenderTransform>
        		<TransformGroup>
        			<ScaleTransform/>
        			<SkewTransform/>
        			<RotateTransform/>
        			<TranslateTransform/>
        		</TransformGroup>
        	</ContentPresenter.RenderTransform>
        </ContentPresenter>
        <Image Margin="-18,-93,-20,-193" Source="Assets/BIEB_Zettel.png" Stretch="Fill" Grid.Column="3" Grid.RowSpan="3">
        	<Image.Effect>
        		<DropShadowEffect Direction="172"/>
        	</Image.Effect>
        </Image>
        <StackPanel
            Margin="0,-40,0,0"
            Orientation="Vertical"
            Grid.RowSpan="2"
            d:LayoutOverrides="Height"
            Grid.Column="3">
            <TheOliver_Controls:AnalogClock
                RenderTransformOrigin="0.5,0.5"
                Margin="0" HorizontalAlignment="Center">
                <TheOliver_Controls:AnalogClock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform
                            ScaleX="0.8"
                            ScaleY="0.8" />
                        <SkewTransform />
                        <RotateTransform />
                        <TranslateTransform />
                    </TransformGroup>
                </TheOliver_Controls:AnalogClock.RenderTransform>
            </TheOliver_Controls:AnalogClock>
            <StackPanel
            	Margin="0,-35,0,0">
            	<TextBlock
            		x:Name="_dateLabel"
            		FontSize="16"
            		Margin="0"
            		TextWrapping="Wrap"
            		Text="TextBlock"
            		VerticalAlignment="Center"
            		HorizontalAlignment="Center"
            		FontWeight="Bold" />
            	<local:SmallSessionDisplay
            		x:Name="_currentSession" Margin="0,30,0,0" BorderThickness="0"/>
            	<local:SmallSessionDisplay
            		x:Name="_nextSession" Margin="0,30,0,0" />
            </StackPanel>
        </StackPanel>
        <Image
            Margin="-126,35.125,0,0"
            Grid.RowSpan="1"
            Source="Assets/BIEB_Hand.png"
            Stretch="Fill"
            RenderTransformOrigin="0.5,0.5"
            UseLayoutRounding="False"
            d:LayoutRounding="Auto"
            HorizontalAlignment="Left"
            VerticalAlignment="Top"
            Visibility="Collapsed" d:IsHidden="True">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform />
                    <SkewTransform />
                    <RotateTransform
                        Angle="22.949" />
                    <TranslateTransform />
                </TransformGroup>
            </Image.RenderTransform>
        </Image>

    </Grid>
</UserControl>
